package com.zb777.shuzhilingxi.Pojo.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Builder;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("chat_history_detail")
public class ChatHistoryDetail {
    @TableId(type = IdType.AUTO)
    private Integer chatHistoryDetailId;
    
    private Integer chatHistoryListId;
    
    private Boolean isImage;
    
    private String imageUrl;
    
    private String imageDescribe;
    
    private String words;
    
    private String role;  // system/user/assistant
    
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createdAt;

    @TableField("is_deleted")
    private Boolean isDeleted;

}